package com.mjk.common.tools.lock.distrib.annotation;

import java.lang.annotation.*;

/**
 * 分布式锁注解
 * @author mjk
 *
 */
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
public @interface BeeDistrub {
    DistrubType type() default DistrubType.REDIS;
	
	enum DistrubType{
		ZOOKEPPER,REDIS
	}
}
